package cn.john.hrm.mapper;

import cn.john.hrm.domain.Permission;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author john
 * @since 2021-06-28
 */
@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {
    @Select("select * from t_permission")
    List<Permission> getAllPermission();
}
